﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaiduZhiDaoLib
{
    /// <summary>
    /// 状态变更参数
    /// </summary>
    public class BaiduStatusEventArgs : EventArgs
    {
        private string url;

        public string Url
        {
            get { return url; }
        }
        private STATUS code;

        public STATUS Code
        {
            get { return code; }
        }
        private string message;

        public string Message
        {
            get { return message; }
        }
        /// <summary>
        /// 状态变更参数
        /// </summary>
        /// <param name="url"></param>
        /// <param name="code"></param>
        /// <param name="message"></param>
        public BaiduStatusEventArgs(string url, STATUS code, string message)
        {
            this.url = url;
            this.code = code;
            this.message = message;
        }
    }
}
